from django.test import TestCase

# Create your tests here.
import requests

start_url = 'http://127.0.0.1:8000/cookie_study/'

session = requests.session()


def test_set_cookie():
    en_url = 'set_cookie/'
    response = session.get(start_url + en_url)
    return session


def test_get_cookie():
    test_set_cookie()
    en_url = 'get_cookie/'
    response = session.get(start_url + en_url)
    return session
